import Router from "koa-router";
const userRouter = new Router();
import loginServer from "../server/login";
userRouter.post("/login", async (ctx) => {
  let res =  await loginServer(ctx);
  console.log(res);
  ctx.body = res;
});
export default userRouter;